html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* 去掉可能出现的滚动条 */
}

body {
    background: url('../images/login_bg.jpg') no-repeat;
    background-size: cover;
}

#logo {
    margin: 20px 0 0 240px;
}

.box {
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 默认先让注册的盒子隐藏 */
.register {
    display: none;
}

.title {
    height: 60px;
    background: url('../images/login_title.png') no-repeat center;
}

.layui-form {
    margin: 0 30px;
}

.box a {
    float: right;
}

/* 字体图标 */
.layui-form-item {
    position: relative;
}

.layui-icon {
    position: absolute;
    top: 11px;
    left: 8px;
}

.layui-input {
    padding-left: 28px;
}

